﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCIndexLocalColor.ascx.cs"
    Inherits="NJL.Web.Controls.WUCIndexLocalColor" %>
<%@ Import Namespace="Royalsoft.Common" %>
<div class="box cont cleanFlex" style="border-top: 2px solid #44b704;">
    <div class="leftTese f_left">
        <!--标题-->
        <div class="titleFontinmg">
            <span><a href="<%if(WEBSITE_FOCUS_CITY_CODE!="") Response.Write("/"+WEBSITE_FOCUS_CITY_NAME_PINYIN); %>/dfts/">
                更多</a></span>
            <h2 class="character">
                &nbsp;</h2>
            <strong class="f_left">各个地方的特色，总有一种是您喜欢的 </strong>
        </div>
        <div class="cleanFlex cont m_top_5" style="width: 510px;">
            <ul class="imglist">
                <%
                    for (int i = 0; i < listLocalColor.Count; i++)
                    {
                %>
                <li style="height: 145px; width: 155px;overflow:hidden;"><a target="_blank" title="<%=listLocalColor[i].NEWS_TITLE %>"
                    href="/<%=GetAreaNamePinYin(listLocalColor[i].AREA_CODE) %>/dfts/<%=listLocalColor[i].ID %>.html">
                    <img style="width: 147px; height: 105px;" class="picBor" src="<%=(listLocalColor[i].IMAGE_CODE!=null && listLocalColor[i].IMAGE_CODE!="")?GetImageUrl(listLocalColor[i].IMAGE_CODE,"1"):"/Images/nopic.jpg" %>"
                        alt="<%=listLocalColor[i].NEWS_TITLE %>" />
                </a>
                    <p class="font14">
                        <a title="<%=listLocalColor[i].NEWS_TITLE %>" target="_blank" href="/<%=GetAreaNamePinYin(listLocalColor[i].AREA_CODE) %>/dfts/<%=listLocalColor[i].ID %>.html">
                            <%if (listLocalColor[i].NEWS_TITLE.Length > 9) Response.Write(listLocalColor[i].NEWS_TITLE.Substring(0, 9) + "..."); else Response.Write(listLocalColor[i].NEWS_TITLE); %></a></p>
                </li>
                <% 
                    }
                %>
            </ul>
        </div>
    </div>
    <!--推荐特色食品-->
    <div class="rightfood f_right">
        <div class="f_left foodindex m_top_10">
            <!--广告-->
            <%@ register src="Ad.ascx" tagname="Ad" tagprefix="uc1" %>
            <uc1:Ad ID="Ad1" runat="server" AdId="2" />
        </div>
        <!--右侧民俗-->
        <div class="f_right custom">
            <div>
                <div class="titleArr">
                    <h2 class="sharelocal">
                        看看这里的人都说啥</h2>
                </div>
                <ul class="arrowList02">
                    <asp:Repeater ID="rptNews" runat="server" EnableViewState="False">
                        <ItemTemplate>
                            <li><strong class="font14"><a href="/dfts/dfts/<%#Eval("ID") %>.html" title="<%#Eval("NEWS_TITLE") %>"
                                target="_blank">
                                <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),15)%></a> </strong>
                                <p>
                                    <%#PageValidate.SqlText(Eval("NEWS_SUBJECT_TITLE").ToString(),30)%>
                                </p>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
            <div class="blank">
            </div>
            <!--广告-->
            <%@ register src="Ad.ascx" tagname="Ad" tagprefix="uc2" %>
            <uc2:Ad ID="Ad2" runat="server" AdId="1" />
        </div>
    </div>
    <div class="cleanFlex" style="height: 1px; overflow: hidden;">
    </div>
</div>
